<%@page contentType="text/html;charset=utf-8" %>
<%@taglib prefix="s" uri="/struts-tags" %> 
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="5"></td>
    <td>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td colspan="12">
       <table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><img src="images/table_top_left.jpg" width="20" height="15" /></td>
            <td><img src="images/table_top_bg.jpg" width="770" height="15"/></td>
            <td align="right"><img src="images/table_top_right.jpg" width="20" height="15" /></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td height="25" colspan="12" 
        class="table_blue">　<strong><img src="images/dot.jpg" width="13" height="9">查询结果</strong></td>
    </tr> 
    <s:if test="hasActionErrors()"> 
    <tr>
      <td class="table_w1" colspan="12" align="center">
        <strong><font color="red"><s:actionerror /></font></strong>
      </td>
    </tr>
    </s:if>
    <tr>
    <td>
    <table id="sort_table" width="100%" border="0" cellspacing="0" cellpadding="0"
           style="word-break:break-all;">
    <tr>
      <td align="center" class="table_g1" width="5%">序号</td>
      <td align="center" class="table_g2" width="5%">日期</td>
      <td align="center" class="table_g2" width="5%">手机号码</td>
      <td align="center" class="table_g2" width="5%">运营商</td>
      <td align="center" class="table_g2" width="5%">CP</td>
      <td align="center" class="table_g2" width="5%">APP</td>
      <td align="center" class="table_g2" width="5%">CHID</td>
      <td align="center" class="table_g2" width="5%">商品代码</td>
      <td align="center" class="table_g2" width="5%">商品名称</td>
      <td align="center" class="table_g2" width="5%">内置渠道</td>
      <td align="center" class="table_g2" width="5%">项目</td>
      <td align="center" class="table_g2" width="5%">省份</td>
      <td align="center" class="table_g2" width="5%">地区</td>
      <td align="center" class="table_g2" width="5%">下发SDK</td>
      <td align="center" class="table_g2" width="5%">支付SDK</td>
      <td align="center" class="table_g2" width="5%">请求金额</td>
      <td align="center" class="table_g2" width="5%">下发金额</td>
      <td align="center" class="table_g2" width="5%">成功金额</td>
      <td align="center" class="table_g2" width="5%">状态</td>
    </tr>
    <tbody id="sort_body">
    <s:if test="list1.size()>0" >
    <s:iterator value="list1" status="stat1" >    
    <tr onmouseover="this.style.background='#c0c0c0';" 
        onmouseout="this.style.background='#ffffff';" >
      <td class="table_w1" align="center"><s:property value="#stat1.index+1" /></td>
      <td class="table_w2" align="center"><s:property value="orderTime1" /></td>
      <td class="table_w2" align="center"><s:property value="mobileNo" /></td>
      <td class="table_w2" align="center"><s:property value="%{getConstantString('carrier', carrier)}" /></td>
      <td class="table_w2" align="center"><s:property value="%{getCpName(cpid)}" /></td>
      <td class="table_w2" align="center"><s:property value="%{getAppName(appid)}" /></td>
      <td class="table_w2" align="center"><s:property value="chid" /></td>
      <td class="table_w2" align="center"><s:property value="goodscode" /></td>
      <td class="table_w2" align="center"><s:property value="goodsname" /></td>
      
      <td class="table_w2" align="center"><s:property value="%{getChannelName(channelId)}" /></td>
      <td class="table_w2" align="center"><s:property value="%{getProjectName(projectId)}" /></td>
      <td class="table_w2" align="center"><s:property value="%{getProvince(province).name}" /></td>
      <td class="table_w2" align="center"><s:property value="%{getRegion(province, region).name}" /></td>
      <td class="table_w2" align="center"><s:property value="%{getSdkName(sdkid)}" /></td>
      <td class="table_w2" align="center"><s:property value="%{getSdkName(reportsdkid)}" /></td>
      <td class="table_w2" align="center"><s:property value="requestfee" /></td>
      <td class="table_w2" align="center"><s:property value="feeValue" /></td>
      <td class="table_w2" align="center"><s:property value="successfee" /></td>
      <td class="table_w2" align="center"><s:property value="report" /></td>
    </tr>
    </s:iterator>
    </s:if>
    <s:else>    
    <tr>
      <td class="table_w1" align="center" colspan="19">无</td>
    </tr>
    </s:else>
    </tbody>
    </table>
    </td>
    </tr>
    <tr> 
      <td colspan="12" background="images/table_bom_bg.jpg">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><img src="images/table_bom_left.jpg" width="20" height="15"></td>
          <td></td>
          <td align="right"><img src="images/table_bom_right.jpg" width="20" height="15"></td>
        </tr>
        </table>
      </td>
    </tr>
  </table>  
  </td>
  <td width="5"></td>
  </tr>
  </table>